import request from '@/utils/request'

// 列表
export function getList(data = {}) {
  return request({
    url: '/workbench/car-record/list',
    method: 'get',
    params: data
  })
}


export function add(data = {}) {
  return request({
    url: '/workbench/car-record/create',
    method: 'post',
    data
  })
}

export function update(data = {}) {
  return request({
    url: '/workbench/car-record/update',
    method: 'post',
    data
  })
}


export function del(data = {}) {
  return request({
    url: '/workbench/car-record/remove',
    method: 'get',
    params: data
  })
}
